﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GaiNo.Core;
using Microsoft.Practices.Unity;
using System.Web.Routing;
using GaiNo.WS.Core.Services;

namespace GaiNo.WS.Core
{
    public class ApplicationContextWrap : ApplicationContext
    {
        protected override void RegisterRoutes(RouteCollection routes)
        {
            base.RegisterRoutes(routes);
        }
        protected override void SetupContainer(IUnityContainer container)
        {
            container.RegisterType<IMember, Member>();
            container.RegisterType<ISite, Site>();
            container.RegisterType<ISiteList, SiteList>();


        }
    }
}
